package com.warm.androidstudy.view.liveData.model;

import android.util.Log;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.lifecycle.ViewModel;

import org.jetbrains.annotations.NotNull;

public class MyViewModel extends ViewModel {
    public MyViewModel() {
        super();
    }

    @Override
    protected void onCleared() {
        super.onCleared();
        Log.e("gsm","Activity被杀死后也会被销毁！");
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(@Nullable @org.jetbrains.annotations.Nullable Object obj) {
        return super.equals(obj);
    }

    @NonNull
    @NotNull
    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @NonNull
    @NotNull
    @Override
    public String toString() {
        return super.toString();
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
    }
}
